package org.wzl._360mallbackend.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.wzl._360mallbackend.entity.User;

import java.util.List;

@Mapper
public interface UserDao {
    
    User checkUser(@Param("username") String username, @Param("password") String password);

    List<User> getAll();

    void insert(User user);
}
